home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Text / OzTeX 1.9 / TeX-inputs / Graphics / pstcol.sty < prev    next >
Encoding:
Text File  |  1995-01-24  |  1.8 KB  |  60 lines  |  [TEXT/MPS ]

  1. %% 
  2. %% This is file `pstcol.sty', generated on <1995/1/24> 
  3. %% with the docstrip utility (2.2i).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% pstcol.dtx  (with options: `package')
  8. %% 
  9. %% IMPORTANT NOTICE:
  10. %% You are not allowed to distribute this file.
  11. %% For distribution of the original source see
  12. %% the copyright notice in the file pstcol.dtx .
  13. %% 
  14. %%%%%%%%%%%%%%%%%%
  15. \let\saved@gray\color@gray
  16. \RequirePackage{pstricks}
  17. \let\color@gray\saved@gray
  18. %%%%%%%%%%%%%%%%
  19. \DeclareOption*{\PassOptionsToPackage\CurrentOption{color}}
  20. \ProcessOptions
  21. \RequirePackage{color}
  22. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  23. \def\pst@getcolor#1#2{%
  24. \@ifundefined{\string\color@#1}%
  25. {\@pstrickserr{Color `#1' not defined}\@eha}%
  26.  {\edef#2{\expandafter\expandafter\expandafter
  27.          \c@lor@to@ps\csname\string\color @#1\endcsname\@@}}}
  28. \def\pst@usecolor#1{#1\space}
  29. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  30. \definecolor{darkgray}{gray}{.25}
  31. \definecolor{gray}{gray}{.5}
  32. \definecolor{lightgray}{gray}{.75}
  33. \definecolor{gradbegin}{rgb}{0,1,1}
  34. \definecolor{gradend}{rgb}{0,.1,.95}
  35. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  36. \psset@bordercolor{white}
  37. \psset@doublecolor{white}
  38. \psset@linecolor{black}
  39. \psset@fillcolor{white}
  40. \psset@hatchcolor{black}
  41. \psset@gridcolor{black}
  42. \psset@gridlabelcolor{black}
  43. \psset@shadowcolor{darkgray}
  44. \psset@subgridcolor{gray}
  45. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46. \def\newgray#1{%
  47.   \definecolor{#1}{gray}}
  48. \def\newrgbcolor#1#2{%
  49.   \newrgbcolorx{#1}#2\@@}
  50. \def\newrgbcolorx#1#2 #3 #4\@@{%
  51.   \definecolor{#1}{rgb}{#2,#3,#4}}
  52. \def\newcmykcolor#1#2{%
  53.   \newcmykcolorx{#1}#2\@@}
  54. \def\newcmykcolorx#1#2 #3 #4 #5\@@{%
  55.   \definecolor{#1}{cmyk}{#2,#3,#4,#5}}
  56.  
  57. \endinput
  58. %% 
  59. %% End of file `pstcol.sty'.
  60.